package org.thanos.iot.service.graphic;

import com.honeywell.tj.iot.entity.graphic.GraphicComponent;

import java.util.List;

public interface GraphicComponentService {

    GraphicComponent getComponent(Integer componentId);

    List<GraphicComponent> getComponentsByCategoryId(Integer categoryId);

    List<GraphicComponent> getComponentByCategoryIds(List<Integer> categoryIds);

    int createComponent(GraphicComponent graphicComponent);

    int updateComponent(GraphicComponent graphicComponent);

    int deleteComponent(Integer componentId);

    int deleteComponents(List<Integer> ids);
}
